package com.esd.test;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class T {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String key = "http://test.jxyc-hlw.com/web-cl-pc/pages/web-main.html#/consultationHome/*";
		String regular = key.replace("*", ".*");
		System.out.println(regular);
		String url = "http://test.jxyc-hlw.com/web-cl-pc/pages/web-main.html#/consultationHome/84f3938d-c2e9-4a83-b836-6637a029eb48";
		Pattern p = Pattern.compile(regular);
		Matcher m = p.matcher(url);
		if (m.matches()) {
			System.out.println("sssssss");
		}

	}

}
